﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Model;

namespace WebApplication
{
    public class Map
    {
        public Guid ID { get; set; }
        public string Name { get; set; }
        public string Title { get; set; }
        public List<Area> Areas = new List<Area>();
    }

    public class Area
    {
        public Guid ID { get; set; }
        public int Order { get; set; }
        public string Name { get; set; }
        public readonly List<WorkNode> Nodes = new List<WorkNode>();
        public int RowCount { get; set; }
    }

    public class WorkNode : ProjectNode
    {
        public readonly List<Guid> NextNodeIDList = new List<Guid>();
        public readonly List<WorkNode> NextNodes = new List<WorkNode>(3);
    }
}